package com.rw.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 管理人员信息表
 * </p>
 *
 * @author Rabit
 * @since 2021-12-21
 */
@Data
@TableName("admin_info")
public class AdminInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("user_name")
    private String userName;

    @TableField("name")
    private String name;

    @TableField("phone_no")
    private String phoneNo;

    @TableField("password")
    private String password;

    /**
     * 管理员，房东
     */
    @TableField("role")
    private String role;


}
